package com.can.convert;

import com.can.domain.entity.Article;
import com.can.domain.entity.Comment;
import com.can.domain.vo.ArticleDetailVO;
import com.can.domain.vo.ArticleVO;
import com.can.domain.vo.CommentVO;
import com.can.domain.vo.HotArticleVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author: cancan
 * @date: 2023/5/4 21:43
 * @description:
 */
@Mapper
public interface CommentConvert {

    CommentConvert INSTANCE = Mappers.getMapper(CommentConvert.class);

    List<CommentVO> convertList(List<Comment> list);

}
